/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.goods.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 测试数据Entity
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "zt_brand", alias = "a", columns = {
		@Column(name = "id", attrName = "id", label = "编号", isPK = true),
		@Column(name = "name", attrName = "name", label = "分类名称", queryType = QueryType.LIKE),
		@Column(name = "label", attrName = "label", label = "描述", queryType = QueryType.LIKE),
		@Column(name = "status", attrName = "status", label = "状态"),
		@Column(name = "type", attrName = "type", label = "类型",queryType=QueryType.LIKE),
		@Column(name = "type_name", attrName = "typeName", label = "类型",queryType=QueryType.LIKE),
		@Column(name = "weig", attrName = "weig", label = "权重"),
		@Column(name = "img", attrName = "img", label = "权重"),
		@Column(name = "contentimg", attrName = "contentimg", label = "权重"),
		@Column(name = "isshow", attrName = "isshow", label = "权重"),
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"), }, orderBy = "a.weig DESC,a.create_date DESC")
public class Brand extends DataEntity<Brand> {

	private static final long serialVersionUID = 1L;
	private String name;
	private String label;
	private String status;
	private Integer weig;
	private String img;
	private String contentimg;
	private String type;
	private String typeName;
	private String isshow;
	
	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	public String getContentimg() {
		return contentimg;
	}

	public void setContentimg(String contentimg) {
		this.contentimg = contentimg;
	}

	public String getIsshow() {
		return isshow;
	}

	public void setIsshow(String isshow) {
		this.isshow = isshow;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Integer getWeig() {
		return weig;
	}

	public void setWeig(Integer weig) {
		this.weig = weig;
	}

	@JsonIgnore
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

}